#include <iostream>
#include <stdlib.h>
using namespace std;
int main ()

{
    string cadena;
    system("color 4d");



    cout << "Ingrese la palabra" << endl;
    cin >> cadena;

    while (cadena!="salir")
    {
        cout << "La cantidad de caracteres es: " << cadena.length() << endl;
        cin >> cadena;
    }

    return 1;

}
